package ycl.base.common.enums;

import lombok.Getter;

import java.math.BigDecimal;

/**
 * 位置枚举
 *
 * @author: YCL
 * @date: 2021-09-24 12:29:11
 */
@Getter
public enum AddressEnum {

	/**
	 *
	 */
	//天安门
	DEFAULT(new BigDecimal("39.908818"), new BigDecimal("116.397468"));

	private final BigDecimal lat;
	private final BigDecimal lng;

	AddressEnum(BigDecimal lat, BigDecimal lng) {
		this.lat = lat;
		this.lng = lng;
	}


	public static AddressEnum getDefault(){
		return DEFAULT;
	}
}
